package org.nyt.medicalstore.service;

import org.nyt.medicalstore.model.Customer;
import java.util.List;
import java.util.Map;

public interface CustomerService {
    // 基本的 CRUD 操作
    Customer saveCustomer(Customer customer);
    Customer getCustomerById(Long id);
    List<Customer> getAllCustomers();
    void deleteCustomer(Long id);

    // 智能客服功能
    Map<String, Object> handleCustomerQuery(String query, Long customerId);
    List<Map<String, Object>> getCustomerOrderHistory(Long customerId);
    Map<String, Object> handleOrderIssue(String issue, Long orderId);
    Map<String, Object> getCustomerInfo(Long customerId);
} 